home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MACD 5
/
MACD 5.bin
/
workbench
/
libs
/
dfunclib.lha
/
dfunc_library
/
sources
/
asm
/
data
/
text
/
StripCom.txt
Wrap
Text File
|
1995-09-30
|
847b
|
23 lines
StripCom 1.0 -- by Kenneth C. Nilsen
© 1995 by Digital Surface. Freeware!
====================================
Stripps Asm, C or any language for comments etc. This stripper is very
advanced, it can stripp any kind of comments and has special modes for
assembler & C type. Even comments in assembler sources without comment
marks can be stripped. Written in assembler (needs dfunc.library).
Known comments: /*...*/ , //...// , ; , * , ## , + assembler comments
with no comment mark, eg: "move.l d0,d1 this is a comment".
USAGE: StripCom [infile] [outfile] [mode]
InFile - Name on file to strip
OutFile - Optional name on stripped output file
Mode - 0 = (default) stripp any comments
1 = Don't strip * comments if not first on line
2 = Stripp any comment + assembler comments wo/ mark
3 = For C sources, woun't stripp ; and *